projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7698643
)
Use typedef when Lisp_Object is EMACS_INT so that
author
Nick Roberts
<nickrob@snap.net.nz>
Sun, 20 Nov 2005 02:15:26 +0000
(
02:15
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Sun, 20 Nov 2005 02:15:26 +0000
(
02:15
+0000)
this type is recognised when debugging.
src/lisp.h
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index 80d45e2004b99a0ed5ea366e84776ca336bf83b4..ad5088da65f35e3b95901542d69ca02e9923c0a2 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-253,7
+253,7
@@
LISP_MAKE_RVALUE (Lisp_Object o)
/* If union type is not wanted, define Lisp_Object as just a number. */
#ifdef NO_UNION_TYPE
-#define Lisp_Object EMACS_INT
+typedef EMACS_INT Lisp_Object;
#define LISP_MAKE_RVALUE(o) (0+(o))
#endif /* NO_UNION_TYPE */